package org.android.pasos;

import java.math.BigDecimal;

public class DatosTrama {
	String trama;
	String alarma = "";
	String ld = "";
	String lh = "";
	String ln = "";
	String lt = "";
	String pb = "";
	String la = "";
	String dt = "";
	String rd = "";
	
	public void datosTrama() {
		this.trama = "*$" + "AU" + alarma + "&LD" + ld + "&LH" + lh + "&LN" + ln + "&LT" + lt + "&PB" + pb + "&LA" + la + "&DT" + dt + "&RD" + rd + "#";
	}

	public String getTrama() {
		return trama;
	}

	public void setTrama(String trama) {
		this.trama = trama;
	}

	public String getAlarma() {
		return alarma;
	}

	public void setAlarma(String alarma) {
		this.alarma = alarma;
	}

	public String getLd() {
		return ld;
	}

	public void setLd(String ld) {
		this.ld = ld;
	}

	public String getDt() {
		return dt;
	}

	public void setDt(String dt) {
		this.dt = dt;
	}

	public String getLa() {
		return la;
	}

	public void setLa(BigDecimal altura) {
		this.la = "" + altura;
	}

	public String getLh() {
		return lh;
	}

	public void setLh(String lh) {
		this.lh = lh;
	}

	public String getLn() {
		return ln;
	}

	public void setLn(BigDecimal longitud) {
		this.ln = "" + longitud;
	}

	public String getLt() {
		return lt;
	}

	public void setLt(BigDecimal latitud) {
		//this.lt = "&#38LT" + latitud;
		this.lt = "" + latitud;
	}

	public String getPb() {
		return pb;
	}

	public void setPb(int level) {
		this.pb = "" + level;
	}

	public String getRd() {
		return rd;
	}

	public void setRd(String rd) {
		this.rd = rd;
	}
	
}
